package clazz;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2021年11月18日 22:00:00
 */
public enum Color {


    RED("red", "红色"), GREEN("green", "绿色");

    private final String name;

    private final String title;


    Color(String name, String title) {
        this.name = name;
        this.title = title;
    }

    public String getName() {
        return name;
    }

    public String getTitle() {
        return title;
    }
}
